<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            /* 透视效果 */
            transform: perspective(400px);
        }
        img{
            /* 行内元素转块元素 */
            display: block;
            margin: 100px auto;
            /* 过渡效果 */
            transition: all 1s;
        }
        img:hover{
            /* 3d沿着x轴旋转 */
            transform: rotateX(180deg);
        }
    </style>
</head>
<body>
    <img src="images/scale.jpg" alt="">
</body>
</html>